package com.sright.bcard.content.dal.dao;

import com.sright.bcard.common.service.share.base.dao.BaseDAO;
import com.sright.bcard.content.dal.entity.TagLibraryDO;

import java.util.List;

public interface TagLibraryDAO extends BaseDAO<TagLibraryDO> {

    int deleteByPrimaryKey(Long id);

    int deleteByPrimaryKeyAndEnterpriseId(Long id, Long enterpriseId);

    List<TagLibraryDO> selectByEnterpriseId(Long enterpriseId);

    List<TagLibraryDO> selectTagsLikeName(Long enterpriseId, String name);

    List<TagLibraryDO> selectByIds(List<Long> userTagIdList);
}
